/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package rentalmobil.testing;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import rentalmobil.entity.dataMobil;

/**
 *
 * @author Henfryandie
 */
public class testingViewDataNoMobil {
    public static void main(String[] args) throws SQLException {
        dataMobil dataM = new dataMobil();
        List<dataMobil> data = new ArrayList<dataMobil>();
        data = dataM.viewDataNoMobil();
        System.out.println("Jumlah data : "+data.size());
        for (int i = 0; i < data.size(); i++) {
            System.out.println("Data Plat adalah "+data.get(i).getNo_mobil());

        }
    }
}
